//
//  LBCategoryMainView.h
//  jslj
//
//  Created by luckyRoy on 2017/10/10.
//  Copyright © 2017年 广东联结电子商务有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LBNewCategoryMainView.h"
//#import "LBCategorySettingModel.h"

@class LBCategoryMainViewLayout,LBCategorySettingModel;

typedef void(^LBCategoryMainViewBlock)(LBCategoryMainViewLayout *blockModel,NSMutableArray *selectedArray);

@interface LBCategoryMainView : UIView

- (instancetype)initWithFrame:(CGRect)frame
                 settingModel:(LBCategorySettingModel *)settingModel
                   viewLayout:(LBCategoryMainViewLayout *)viewLayout
                     complete:(LBCategoryMainViewBlock)complete;

- (void)reloadViewByNewListModels:(NSArray *)listModels;

@property (nonatomic, strong, readonly) LBCategoryMainViewLayout *viewLayout;

@end

typedef void(^LBCategoryMainViewLayoutSelectedChangeBlock)(NSInteger count);

@interface LBCategoryMainViewLayout : NSObject

@property (nonatomic, assign) BOOL isHideSectionView;

//@property (nonatomic, assign) BOOL isSingleSelected;

@property (nonatomic, assign) BOOL isShowTopSelectedView;

@property (nonatomic, assign) BOOL isShowSearchView;

@property (nonatomic, assign) BOOL isShowConfirmView;

@property (nonatomic, assign) BOOL isShowLookingAllView;

@property (nonatomic, assign) BOOL isShowBottomSelectedView;

@property (nonatomic, strong) id bookingSelectedModel;//default nil

@property (nonatomic, assign) BOOL isLookingAll;

@property (nonatomic, assign) LBCategorySettingPageType pageType;

@end
